﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace NP.BPMReportPlatform.EntityFrameworkCore
{
    public class BPMReportPlatformHttpApiHostMigrationsDbContext : AbpDbContext<BPMReportPlatformHttpApiHostMigrationsDbContext>
    {
        public BPMReportPlatformHttpApiHostMigrationsDbContext(DbContextOptions<BPMReportPlatformHttpApiHostMigrationsDbContext> options)
            : base(options)
        {

        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);

            modelBuilder.ConfigureBPMReportPlatform();
        }
    }
}
